//
//  UKDelegateProxy.m
//  UKListManager
//
//  Created by ET|冰琳 on 16/11/3.
//  Copyright © 2016年 UK. All rights reserved.
//

#import "UKDelegateProxy.h"

@implementation UKDelegateProxy

- (BOOL)respondsToSelector:(SEL)aSelector{
    if ( [self.delegateForward respondsToSelector:aSelector]) {
        return true;
    }
    return [super respondsToSelector:aSelector];
}

- (id)forwardingTargetForSelector:(SEL)aSelector{
    if ([self.delegateForward respondsToSelector:aSelector]) {
        return self.delegateForward;
    }
    return [super forwardingTargetForSelector:aSelector];
}

@end
